package com.sunther.document.Enum;

/**
 * @author admin
 */

public enum DictEnum {

    STATUS_ENABLE(1, "启用"),
    STATUS_DISABLE(0, "禁用"),
    STATUS_DELETE(2, "删除"),

    FILE_STATE_TO_BE_TRA(1,"待翻译"),
    FILE_STATE_TRANSLATING(2,"翻译中"),
    FILE_STATE_COMPLETE(3,"翻译完成"),

    ROLE_ADMIN(1,"管理员"),
    ROLE_interpreter(2,"译员"),
    ROLE_PROJECT_LEADER(3,"项目负责人"),
    ROLE_PROJECT_PARTICIPANTS(4,"项目参与人"),

    SYSTEM_TYPE_TEMPLATE(1,"模板"),
    SYSTEM_TYPE_DIY(2,"自定义"),

    MSG_TYPE_READ(2,"已读"),
    MSG_TYPE_UNREAD(1,"未读"),

    MSG_CONTENT_ORG(1,"上传了原文"),
    MSG_CONTENT_TRAN(2,"上传了译文"),

    PROJECT_USER_TYPE_HEADER(1,"项目负责人"),
    PROJECT_USER_TYPE_JOIN(2,"项目参与人")

    ;

    private Integer code;

    private String name;

    private DictEnum(Integer code, String name){
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
